package com.toolbox.service.impl;

import com.toolbox.dal.model.InfraLogOperateDO;
import com.toolbox.dal.repository.InfraLogOperateDORepository;
import com.toolbox.dto.InfraLogOperateDTO;
import com.toolbox.pages.Pager;
import com.toolbox.service.InfraLogOperateService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 操作日志表 服务实现类
 * </p>
 *
 * @author Mango
 * @since 2023-12-01
 */
@SuppressWarnings("ALL")
@Slf4j
@Service
public class InfraLogOperateServiceImpl implements InfraLogOperateService {

    @Autowired
    private InfraLogOperateDORepository repository;

    @Override
    public Pager<InfraLogOperateDTO> getOperateLogPage(Integer pageIndex, Integer pageSize, String keywords) {
        return repository.getOperateLogPage(pageIndex, pageSize, keywords);
    }

    @Override
    public void create(InfraLogOperateDO operationEntity) {
        repository.create(operationEntity);
    }

}
